package com.lipaluma.xml.util;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;

@XmlType(name="param")
@XmlAccessorType(XmlAccessType.FIELD)
public class XmlParam {
	@XmlAttribute
	private String key;
	@XmlValue
	private String value;
	
	public String getKey() {
		return key;
	}
	
	public String getValue() {
		return value;
	}
	
	@Override
	public String toString() {
		return new StringBuilder("key : ").append(key).append(", value : ").append(value).toString();
	}
}
